package com.czh.subject.application.convert;

import com.czh.subject.application.dto.SubjectLabelDTO;
import com.czh.subject.domain.entity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelConverter {
    SubjectLabelConverter INSTANCE = Mappers.getMapper(SubjectLabelConverter.class);

    SubjectLabelBO convert(SubjectLabelDTO subjectCategoryDTO);

    List<SubjectLabelDTO> convert(List<SubjectLabelBO> subjectLabelBOList);
}
